package com.wodsy.phoenix.dataservice.shoppingcart.service;


import com.wodsy.phoenix.dataobject.shoppingcart.model.Shoppingcart;
import com.wodsy.phoenix.dataservice.base.BaseService;
/**
 * 未用到
 * 维护购物车业务逻辑（当前以Redis做底层持续化）-由于数据是临时数据，
 * 所以作为大类的购物车主类（关联当前类）
 * @author bryan
 *
 */
public interface ShoppingcartService extends BaseService<Shoppingcart, Long> {

	public Shoppingcart getMyShoppingcartById(Long id);

	public Shoppingcart getMyShoppingcartByUid(Integer userId);
	
	public Integer addMyShoppingcart(Shoppingcart shoppingcart);
	
	public void updateShoppingcart(Shoppingcart shoppingcart);

	public void delShoppingcart(Integer userId);

}
